﻿using CID.Domain.Development;
using CID.Domain.Operations;
using NailsFramework.Persistence;

namespace CID.Domain.Audit
{
    public class ActiveVersion : Model<ActiveVersion>, CID.Domain.Audit.IActiveVersion
    {
        public virtual int Id { get; private set; }
        public virtual IVersion Version { get; private set; }
        public virtual IEnvironment Environment { get; private set; }
        
        protected ActiveVersion()
        { 
        }

        internal ActiveVersion(IEnvironment environment, IVersion version) : this()
        {
            Environment = environment;
            Version = version;
        }
    }
}
